package com.cpr.ams.mapper;

import com.cpr.ams.bean.Prince;
import com.cpr.ams.bean.PrinceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrinceMapper {
    long countByExample(PrinceExample example);

    int deleteByExample(PrinceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Prince record);

    int insertSelective(Prince record);

    List<Prince> selectByExample(PrinceExample example);

    Prince selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Prince record, @Param("example") PrinceExample example);

    int updateByExample(@Param("record") Prince record, @Param("example") PrinceExample example);

    int updateByPrimaryKeySelective(Prince record);

    int updateByPrimaryKey(Prince record);
}